package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenxuebin
 * @since 2020-04-25
 */
@TableName("t_hdtemplate")
public class Hdtemplate extends Model<Hdtemplate> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
	private Long gid;
	private Long ywid;
	private String title;
	private String pic;
    /**
     * 行业类别code
     */
	private String type;
    /**
     * 行业类别名称
     */
	private String typename;
    /**
     * 营销名称
     */
	private String yxname;
    /**
     * 营销类型
     */
	private Integer yxtype;
    /**
     * 营销功能#英文分号隔开
     */
	private String yxtags;
    /**
     * 玩法介绍
     */
	private String info;
    /**
     * 活动预览图
     */
	private String photos;
    /**
     * 状态@1：启用；2：禁用
     */
	private Integer state;
    /**
     * 用户
     */
	private Integer users;
    /**
     * 订单数
     */
	private Integer orders;
    /**
     * 销售额
     */
	private BigDecimal xiaohsou;
	private Integer uses;
	private Long mid;
	private Long mpid;
	private Long sid;
	private Date createtime;
	private Date modifytime;
	private Long creator;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getGid() {
		return gid;
	}

	public void setGid(Long gid) {
		this.gid = gid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTypename() {
		return typename;
	}

	public void setTypename(String typename) {
		this.typename = typename;
	}

	public String getYxname() {
		return yxname;
	}

	public void setYxname(String yxname) {
		this.yxname = yxname;
	}

	public Integer getYxtype() {
		return yxtype;
	}

	public void setYxtype(Integer yxtype) {
		this.yxtype = yxtype;
	}

	public String getYxtags() {
		return yxtags;
	}

	public void setYxtags(String yxtags) {
		this.yxtags = yxtags;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getPhotos() {
		return photos;
	}

	public void setPhotos(String photos) {
		this.photos = photos;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getUsers() {
		return users;
	}

	public void setUsers(Integer users) {
		this.users = users;
	}

	public Integer getOrders() {
		return orders;
	}

	public void setOrders(Integer orders) {
		this.orders = orders;
	}

	public BigDecimal getXiaohsou() {
		return xiaohsou;
	}

	public void setXiaohsou(BigDecimal xiaohsou) {
		this.xiaohsou = xiaohsou;
	}

	public Integer getUses() {
		return uses;
	}

	public void setUses(Integer uses) {
		this.uses = uses;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	public Long getCreator() {
		return creator;
	}

	public void setCreator(Long creator) {
		this.creator = creator;
	}

	public Long getSid() {
		return sid;
	}

	public void setSid(Long sid) {
		this.sid = sid;
	}

	public Long getYwid() {
		return ywid;
	}

	public void setYwid(Long ywid) {
		this.ywid = ywid;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Hdtemplate{" +
			"id=" + id +
			", gid=" + gid +
			", title=" + title +
			", pic=" + pic +
			", type=" + type +
			", typename=" + typename +
			", yxname=" + yxname +
			", yxtype=" + yxtype +
			", yxtags=" + yxtags +
			", info=" + info +
			", photos=" + photos +
			", state=" + state +
			", users=" + users +
			", orders=" + orders +
			", xiaohsou=" + xiaohsou +
			", uses=" + uses +
			", mid=" + mid +
			", mpid=" + mpid +
			", createtime=" + createtime +
			", modifytime=" + modifytime +
			", creator=" + creator +
			"}";
	}
}
